<?php
    require_once('Matcher.php');
    require_once('test_case.php');
    require_once('autorun.php');

    class EqualsMatchTest extends UnitTestCase {
        function testEquals() {
            $eq = Matcher::eq('duck');
            $eq->match('duck');
            $this->expectException(new Exception('at character 0 with [duck] and [eagle]'));
            $eq->match('eagle');
        }
    }
?>